<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>v_gamma_lut: Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">v_gamma_lut
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__v__gamma__lut.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Overview</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga1eee746789dd56e4aedece7baf166715"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__v__gamma__lut.html#ga1eee746789dd56e4aedece7baf166715">XVGammaLut_SetCallback</a> (<a class="el" href="struct_x_v__gamma__lut.html">XV_gamma_lut</a> *InstancePtr, u32 HandlerType, void *CallbackFunc, void *CallbackRef)</td></tr>
<tr class="memdesc:ga1eee746789dd56e4aedece7baf166715"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the given HandlerType:  <a href="#ga1eee746789dd56e4aedece7baf166715">More...</a><br/></td></tr>
<tr class="separator:ga1eee746789dd56e4aedece7baf166715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga009d3cf75a477fc0d391e85b2be4992b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__v__gamma__lut.html#ga009d3cf75a477fc0d391e85b2be4992b">XVGammaLut_InterruptHandler</a> (<a class="el" href="struct_x_v__gamma__lut.html">XV_gamma_lut</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga009d3cf75a477fc0d391e85b2be4992b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the Gamma Lut core driver.  <a href="#ga009d3cf75a477fc0d391e85b2be4992b">More...</a><br/></td></tr>
<tr class="separator:ga009d3cf75a477fc0d391e85b2be4992b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga009d3cf75a477fc0d391e85b2be4992b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVGammaLut_InterruptHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v__gamma__lut.html">XV_gamma_lut</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the interrupt handler for the Gamma Lut core driver. </p>
<p>This handler clears the pending interrupt and determined if the source is frame done signal. If yes, starts the next frame processing and calls the registered callback function</p>
<p>The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using <a class="el" href="group__v__gamma__lut.html#ga1eee746789dd56e4aedece7baf166715" title="This function installs an asynchronous callback function for the given HandlerType: ...">XVGammaLut_SetCallback()</a> during initialization phase.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the core instance that just interrupted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_v__gamma__lut.html#a99f00f7240a0431a48672e15024b50b8">XV_gamma_lut::CallbackDoneRef</a>, <a class="el" href="struct_x_v__gamma__lut.html#ac8f00b765668a356561988c2b440f763">XV_gamma_lut::CallbackReadyRef</a>, and <a class="el" href="struct_x_v__gamma__lut.html#ad1109f4bcf245a6f77ae977604913234">XV_gamma_lut::IsReady</a>.</p>

</div>
</div>
<a class="anchor" id="ga1eee746789dd56e4aedece7baf166715"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVGammaLut_SetCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v__gamma__lut.html">XV_gamma_lut</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function installs an asynchronous callback function for the given HandlerType: </p>
<pre>
HandlerType                     Callback Function Type
</p>
<hr/>
<p>
(XVGAMMA_LUT_HANDLER_DONE)       DoneCallback
(XVGAMMA_LUT_HANDLER_READY)      ReadyCallback</pre><pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the GammaLut IP instance.
</td></tr>
    <tr><td class="paramname">CallbackFunc</td><td>is the address of the callback function.
</td></tr>
    <tr><td class="paramname">CallbackRef</td><td>is a user data item that will be passed to the
      callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been
      installed replaces it with the new handler.
</dd></dl>
</pre>
<p>References <a class="el" href="struct_x_v__gamma__lut.html#a99f00f7240a0431a48672e15024b50b8">XV_gamma_lut::CallbackDoneRef</a>, and <a class="el" href="struct_x_v__gamma__lut.html#ac8f00b765668a356561988c2b440f763">XV_gamma_lut::CallbackReadyRef</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
